package com.chinasoft.tw.service.lwk;

import com.chinasoft.tw.pojo.Info;
import com.chinasoft.tw.service.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class lvwenkai implements TrueWord {
    String name;
    List<String> wordList = new ArrayList<>();
    Random random = new Random();

    public lvwenkai() {
        this.name = "学生 吕文锴";
        wordList.add("天天都是摆烂日 ！");
        wordList.add("今天放假了！");
        wordList.add("明天吃大餐 ！");
        wordList.add("后天是健身日！");
    }

    @Override
    public Info getTrueWord() {
        Info info = new Info(name, wordList.get(random.nextInt(wordList.size())));
        return info;
    }
}
